package cn.agiledata.bank.common.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import cn.agiledata.sms.SmsService;

import com.vnv.infrastructure.exception.IPBException;
import com.vnv.infrastructure.logic.IPBAppFactory;

public class SmsReceiveAction extends BaseMainAction {
	
	public int hasAccessPermission(int accessLevel, HttpServletRequest request)
			throws IPBException {
		int result = 1;
		return result;
	}
	
	private SmsService getSmsService() {
		return (SmsService)IPBAppFactory.getObj("smsService");
	}

	public ActionForward receive(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response)throws IPBException, Exception{

		return null;
	}	
}
